package com.news.news.modle;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * Created by 罗铠威 on 2023/8/30 19:25
 * type:
 */
@Component
@Data
public class Role {
    private Integer id;
    private String name;
    private String info;
    private  Integer adminid;
    private String account;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operTime;
    private Integer pageNum=1;//数量
    private Integer pageSize=2;//页长
    private List<Menu> menus;
    private Integer[] menuList;
}
